package com.cheng.activemq.spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Author: cheng
 * Date: 13-12-25
 * Time: 下午4:05
 */
public class ProTest {
    private String ss;

    public String getSs() {
        return ss;
    }

    public void setSs(String ss) {
        this.ss = ss;
    }

    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext-all.xml");
        ProTest test = (ProTest)applicationContext.getBean("proTest");
        System.out.println(test.getSs());
    }
}
